<div class="title_left">
	DANH MỤC SẢN PHẨM
</div>
<div class="arrowsidemenu">
	<div><a href="index.php" title="Home">● TRANG CHỦ</a></div>
	<?php
		//switch($_GET['thamso'])
		//{
		//	case "load":
		//		$id=$_GET['id_load'];
		//	break;
		//	default:
		//		$id=0;
		//}
		$tv="select * from loaisp where (thuoc_id_loaisp=0 and isActive=1)";
		//$tv="select * from loaisp where isActive=1";
		$tv_1=mysql_query($tv);
		while($tv_2=mysql_fetch_array($tv_1))
		{
			$link="?thamso=xuat&id=$tv_2[id_loaisp]";
			if($tv_2['id_loaisp']!=0)
			{
				echo"<div class='menuheaders'>";
					echo"<a href='$link'>";
						echo "▼ ".$tv_2['ten_loaisp'];
					echo"</a>";
				echo "</div>";
				$xac_dinh_menu_con_123=xac_dinh_menu_con_123($tv_2['id_loaisp']);
				if($xac_dinh_menu_con_123=="yes")
				{
					echo "<ul class='menucontents'>";
						echo "<li>";
							de_quy_menu_fff($tv_2['id_loaisp']);
						echo "</li>";
					echo "</ul>";
				}
			}
			else
			{
				echo "Trang chủ";
			}
		}
	?>
</div>
<div class="cao_10_px"></div>
<div class="title_left">
	THỐNG KÊ
</div>
<div style="padding:5px 5px 5px 5px; background:#FFFFCC;">
	<table width="100%" bgcolor="#FFFFCC">
	  <tr>
		<td>Đang online:</td>
		<td align="right" width="70px"><font color="#FF0000"><b><?php echo online(); ?></b></font></td>
	  </tr>
	  <tr>
		<td>Truy cập hôm nay:</td>
		<td align="right" width="70px"><?php echo today(); ?></td>
	  </tr>
	  <tr>
		<td>Truy cập hôm qua:</td>
		<td align="right" width="70px"><?php echo yesterday(); ?></td>
	  </tr>
	  <tr>
		<td>Tổng số truy cập:</td>
		<td align="right" width="70px"><font color="#FF0000"><b><?php total(); ?></b></font></td>
	  </tr>
	  <tr>
		<td>Truy cập trung bình:</td>
		<td align="right" width="70px"><?php avg(); ?></td>
	  </tr>
	</table>
</div>
<div class="cao_10_px"></div>
<div class="title_left">
	VIDEO
</div>
<div>
	<iframe width="225" height="225" src="//www.youtube.com/embed/HnunrEBCwCk" frameborder="0" allowfullscreen>		</iframe>
</div>